Companion

object Companion

Properties

MAX_VALUE
Link copied to clipboard
const val MAX_VALUE: Double = 1.7976931348623157E308

A constant holding the largest positive finite value of Double.

MIN_VALUE
Link copied to clipboard
const val MIN_VALUE: Double = 4.9E-324

A constant holding the smallest positive nonzero value of Double.

NaN
Link copied to clipboard
const val NaN: Double

A constant holding the "not a number" value of Double.

NEGATIVE_INFINITY
Link copied to clipboard
const val NEGATIVE_INFINITY: Double

A constant holding the negative infinity value of Double.

POSITIVE_INFINITY
Link copied to clipboard
const val POSITIVE_INFINITY: Double

A constant holding the positive infinity value of Double.

SIZE_BITS
Link copied to clipboard
const val SIZE_BITS: Int = 64

The number of bits used to represent an instance of Double in a binary form.

SIZE_BYTES
Link copied to clipboard
const val SIZE_BYTES: Int = 8

The number of bytes used to represent an instance of Double in a binary form.

Extensions

fromBits
Link copied to clipboard
expect fun Double.Companion.fromBits(bits: Long): Double

Returns the Double value corresponding to a given bit representation.

actual inline fun Double.Companion.fromBits(bits: Long): Double

Returns the Double value corresponding to a given bit representation.

actual inline fun Double.Companion.fromBits(bits: Long): Double

Returns the Double value corresponding to a given bit representation.

actual inline fun Double.Companion.fromBits(bits: Long): Double

Returns the Double value corresponding to a given bit representation.